package com.hello.service;

import com.hello.dto.PetcardDTO;

import java.util.List;

public interface IPetCardService {

    /**
     * 新增宠物信息
     * @param petcardDTO
     * @return
     */
    boolean addPetCard(PetcardDTO petcardDTO);

    /**
     * 根据id删除指定宠物信息
     * @param id
     * @return
     */
    boolean delPetCardById(Long id);

    /**
     * 宠物列表信息查询
     * @return
     */
    List<PetcardDTO> queryPetCardList(Long id);
    List<PetcardDTO> myPetCard(Long user_id);

}
